import { reactive, ref } from "vue";

export default function InitHook() {
  const formState = reactive<Partial<WarehouseEntryChannel.CustomerLevel>>({
    customerList: [],
    unit: undefined,
    adjustmentValue: undefined,
    customerLevelId: undefined,
    conditionDesc: undefined,
    adjustmentType: undefined,
    price: undefined,
    value: undefined,
    minValue: undefined,
    maxValue: undefined
  });
  const formDataRef = ref<any>(null);
  return {
    formState,
    formDataRef
  };
}
